package com.service;

import com.mapper.Process_reviewDao;
import com.util.Process_review;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Process_reviewService {
    @Resource
    private Process_reviewDao process_reviewDao;

    public List<Process_review> see_process(String pAccount){
        Process_review process_review=new Process_review();
        process_review.setpAccount(pAccount);
        List<Process_review> k=process_reviewDao.select(process_review);
        System.out.println(k);
        return process_reviewDao.select(process_review);
    }
    public void insert1(Process_review process_review){
        process_reviewDao.insert1(process_review);
    }
    public void insert2(Process_review process_review){
        process_reviewDao.insert2(process_review);
    }
}
